package com.villaday.idf.model;

import java.util.List;

public class GuidesEntity {


    /**
     * code : 200
     * status : success
     * msg : success
     * body : [{"endDateTime":1548899804993,"jumpType":0,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/201901111005.png"},"showTime":3},{"endDateTime":1548899804993,"jumpType":0,"material":{"type":0,"url":"https://img.villaday.com/static/17/img/201901111005.png"},"showTime":3}]
     */

    private String code;
    private String status;
    private String msg;
    private List<BodyEntity> body;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<BodyEntity> getBody() {
        return body;
    }

    public void setBody(List<BodyEntity> body) {
        this.body = body;
    }

    public static class BodyEntity {
        /**
         * endDateTime : 1548899804993
         * jumpType : 0
         * material : {"type":0,"url":"https://img.villaday.com/static/17/img/201901111005.png"}
         * showTime : 3
         */
       private String name;
        private String url;
        private String miniAppId;

        private int miniProgramType;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        public String getMiniAppId() {
            return miniAppId;
        }

        public void setMiniAppId(String miniAppId) {
            this.miniAppId = miniAppId;
        }

        public int getMiniProgramType() {
            return miniProgramType;
        }

        public void setMiniProgramType(int miniProgramType) {
            this.miniProgramType = miniProgramType;
        }

        private long endDateTime;
        private int jumpType;
        private MaterialEntity material;
        private int showTime;

        public long getEndDateTime() {
            return endDateTime;
        }

        public void setEndDateTime(long endDateTime) {
            this.endDateTime = endDateTime;
        }

        public int getJumpType() {
            return jumpType;
        }

        public void setJumpType(int jumpType) {
            this.jumpType = jumpType;
        }

        public MaterialEntity getMaterial() {
            return material;
        }

        public void setMaterial(MaterialEntity material) {
            this.material = material;
        }

        public int getShowTime() {
            return showTime;
        }

        public void setShowTime(int showTime) {
            this.showTime = showTime;
        }

        public static class MaterialEntity {
            /**
             * type : 0
             * url : https://img.villaday.com/static/17/img/201901111005.png
             */

            private int type;
            private String url;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }
        }
    }
}
